<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<style type='text/css'>
			body{
				margin:0;
				font-size:14px;
			}
			table{
				border-collapse:collapse;
			}
			.borderTr{
				border-bottom:1px solid #ffd99c;
			}
			.borderTd{
				border-right:1px solid #ffd99c;
			}
			td{
				height: 20px;
				font: 14px;
				margin: 0;
				padding: 0;
			}
			.td1{
				width: 156px;
			}
			.td2{
				width: 70px;
			}
			.td3{
				width: 70px;
			}
			#pageUpDown{
				text-align: center;
			}
			a{
				text-decoration:none;
				color:#777;
			}
			a:hover{
				text-decoration:underline;
				color:#FF9000;
			}
		</style>
	</head>
<body onload='setheight()'>
	<div id="portfile_list">
		<table>
			<tr class="borderTr">
				<td class="td1 borderTd" style="text-indent:5px;">标题</td>
				<td class="td2 borderTd" align="center">发布人</td>
				<td class="td3" align="center">发布时间</td>
			</tr>
			<volist name="list" id="vo">
			<tr>
				<td class="td1" style="text-indent:3px;"><a href="__URL__/view/?id={$vo.id}" target="portfile_detail" >{$vo.title}</a></td>
				<td class="td2" align="center">{$vo.publisher}</td>
				<td class="td3" align="center">{$vo.publishtime|date="y-m-d",###}</td>
			</tr>
			</volist>
		</table>
		<div id="pageUpDown">
			<span id="n_upPage">{$show}</span>
		</div>
	</div>
	<script>
	function setheight(){
		var newHeight = document.body.clientHeight;
		window.parent.document.getElementById("portfile_list").height = newHeight;
		window.parent.document.getElementById("P_titleNag").height = newHeight;
		//以上firefox通过，但是ie6必须加上下面这句，不然iframe高度是改了，但是可见区域没有改
		window.parent.document.getElementById("P_titleNag").height = newHeight;
	}
	</script>

</body>
</html>
